﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CRM_Project._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 600px">
    
        <asp:Label ID="Label1" runat="server" Text="Label">Pick-up Date:</asp:Label>
    
        <asp:Calendar ID="pudate" runat="server"></asp:Calendar>
        <br />
        <asp:Label ID="Label2" runat="server" Text="Label">Drop-off Date:</asp:Label>
        <asp:Calendar ID="dodate" runat="server"></asp:Calendar>
        Drop-off Location:
        <asp:TextBox ID="dolocation" runat="server"></asp:TextBox>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="ModelName" HeaderText="Model" ReadOnly="True" 
                    SortExpression="ModelName" />
                <asp:BoundField DataField="Mileage" HeaderText="Mileage" ReadOnly="True" 
                    SortExpression="Mileage" />
                <asp:BoundField DataField="Color" HeaderText="Color" ReadOnly="True" 
                    SortExpression="Color" />
                <asp:TemplateField>
                <ItemTemplate>
                    <asp:Button runat="server" Text="Reserve" OnClick="ReserveButton" />
                </ItemTemplate></asp:TemplateField>
            </Columns>
        </asp:GridView>
    
        <br />
    
        <br />
        <br />
        <asp:Button ID="formsubmit" runat="server" onclick="Button1_Click" 
            Text="Search" />
        <br />
        <br />
        <asp:Label ID="namelabel" runat="server" Text="Name"></asp:Label>
        <br />
        <asp:TextBox ID="NameTextBox"
            runat="server"></asp:TextBox>
    
    </div>
    <h3>Available Cars:</h3>
    </form>
</body>
</html>